package com.smiier.skin.net;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.constant.Constant;
import com.smiier.skin.net.SysShareCallBackTask.SysShareCallBackRequest;
import com.smiier.skin.net.SysShareCallBackTask.SysShareCallBackResponse;
import com.smiier.skin.util.GlobalSettings;

public class SysShareCallBackTask extends
		NetTask<SysShareCallBackRequest, SysShareCallBackResponse> {
	public static class SysShareCallBackRequest extends ORequest {
		public String token;
		public String appname = Constant.APP_NAME;
	}

	public static class SysShareCallBackResponse extends OResponse {
		public int Res = GlobalSettings.IS_FALSE;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_URL_JOIN
				+ "?api=Sys.Share.CallBack";
		mRequestMethod = METHOD_GET;
	}
}
